The _o_p_t_i_o_n_a_l_s_y_m command both reports on and sets the st_other field in an
ELF symbol table.
It was written to manipulate the STO_OPTIONAL value in the st_other field
of the ELF symbol table. Thus the name _o_p_t_i_o_n_a_l_s_y_m.
The _o_p_t_i_o_n_a_l_s_y_m command accepts one or more of the following options:
----pppp prints information on selected symbols. If ----uuuu is also
supplied, the symbol is printed before updating.
----vvvv _s_e_l_e_c_t_n_a_m_e
selects symbols with st_other having that value. For example,
optionalsymbol -v STO_OPTIONAL -p t.o
prints all symbols marked STO_OPTIONAL. Legal values for
_s_e_l_e_c_t_n_a_m_e are any one of SSSSTTTTOOOO____DDDDEEEEFFFFAAAAUUUULLLLTTTT ,,,, SSSSTTTTOOOO____IIIINNNNTTTTEEEERRRRNNNNAAAALLLL ,,,,
SSSSTTTTOOOO____HHHHIIIIDDDDDDDDEEEENNNN ,,,, SSSSTTTTOOOO____PPPPRRRROOOOTTTTEEEECCCCTTTTEEEEDDDD ,,,, and SSSSTTTTOOOO____OOOOPPPPTTTTIIIIOOOONNNNAAAALLLL. If multiple ----vvvv
updates the st_other field of the selected symbols to contain
the the _u_p_d_a_t_e_t_o value. Legal values for _u_p_d_a_t_e_t_o are any one
of SSSSTTTTOOOO____DDDDEEEEFFFFAAAAUUUULLLLTTTT ,,,, SSSSTTTTOOOO____IIIINNNNTTTTEEEERRRRNNNNAAAALLLL ,,,, SSSSTTTTOOOO____HHHHIIIIDDDDDDDDEEEENNNN ,,,, SSSSTTTTOOOO____PPPPRRRROOOOTTTTEEEECCCCTTTTEEEEDDDD ,,,,
and SSSSTTTTOOOO____OOOOPPPPTTTTIIIIOOOONNNNAAAALLLL. If multiple ----uuuu aaaarrrreeee ssssuuuupppppppplllliiiieeeedddd tttthhhheeee llllaaaasssstttt oooonnnneeee''''ssss
_u_p_d_a_t_e_t_o is used (the others are silently ignored). If ----uuuu is
not supplied then ----pppp iiiissss aaaassssssssuuuummmmeeeedddd....
----yyyy _s_y_m_n_a_m_e
selects a symbol with the name _s_y_m_n_a_m_e. If multiple ----yyyy options
are given each name in the set of names is selected.